package com.example.administrator.daydayappmarket.software.choice.model;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by lenovo on 2016/12/26.
 */

public class SoftwareChoiceEntry {
    private String alias;
    private String image;
    private String id;
    public void parseJson(JSONObject jsonObject) throws JSONException{
        if (jsonObject != null) {
            alias=jsonObject.getString("alias");
            image=jsonObject.getString("image");
            JSONObject jsonObject1=jsonObject.getJSONObject("data");
            id=jsonObject1.getString("id");
        }
    }

    public String getAlias() {
        return alias;
    }

    public String getImage() {
        return image;
    }

    public String getId() {
        return id;
    }
}
